package com.wonders.module.base.entity.vo;

import com.wonders.framework.entity.vo.BaseVo;

/**
 * 数据字典VO
 * 
 * @author WuBin
 * 
 */
public class DicVo extends BaseVo {

	/**
	 * 编号
	 */
	private Long id;

	/**
	 * 类别
	 */
	private String type;

	/**
	 * 类别描述
	 */
	private String typeDesc;

	/**
	 * 代码
	 */
	private String code;

	/**
	 * 代码值
	 */
	private String codeValue;

	/**
	 * 父节点代码
	 */
	private String parentCode;

	/**
	 * 排序值
	 */
	private Integer sort;

	/**
	 * 是否有效
	 */
	private Integer enable;

	public Long getId() {
		return id;
	}

	public String getType() {
		return type;
	}

	public String getTypeDesc() {
		return typeDesc;
	}

	public String getCode() {
		return code;
	}

	public String getCodeValue() {
		return codeValue;
	}

	public String getParentCode() {
		return parentCode;
	}

	public Integer getSort() {
		return sort;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setCodeValue(String codeValue) {
		this.codeValue = codeValue;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	@Override
	public String toString() {
		return "Dic [code=" + code + ", codeValue=" + codeValue + ", enable="
				+ enable + ", id=" + id + ", parentCode=" + parentCode
				+ ", sort=" + sort + ", type=" + type + ", typeDesc="
				+ typeDesc + "]";
	}

}
